#include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("duel.in","r",stdin);
freopen("duel.out","w",stdout);
int n,i,d,j,z,s=0;
cin>>n;
int a[n];
int b[100];
for(i=1;i<=n;i++)
cin>>a[i];
sort(a+1;a+n+1);
d=1;
for(j=1;j<=100;j++)
{
z=a[d];
for(i=2;i<=n;i++)
{
if(z==a[i])d++;
}
b[j]=d;
}
cout<<s;
return 0;
}
